import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useRouteStore = defineStore('routeStore', () => {
  const route = ref([])
  function addRoute(list: any) {
    route.value = list
  }
  return { route, addRoute }
})